class AdminrolesController < ApplicationController
before_filter :authorize
    layout "adminroles"
    
      active_scaffold :role do |config|
  config.label = "Administer Roles"
#  config.action_links.add 'export_csv', :label => 'Export to Excel', :page => true
#  config.action_links.add 'trunc_tbl', :label => 'Clear DataBase', :page => true
  	  config.columns = [:name]	
		 config.columns[:name].label ="Role Name"

		 
  end
end
